STEP 5: Let's add another variable to store our friend's favorite color.

  • Go to and drag out String Variable. Drop it at the bottom of your program.
  • Change the name of the string variable to fav_color.
  • Change the value of the string variable to "orange".

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)